import http from '@/util/http'

// 群列表
export function getGroup() {
    return http.get('/book/group');
}


// 群详情
export function getGroupDetail(group_id)
{
    return http.get('/book/groupDetail',{params:{group_id}});
}

// 群成员列表
export function getGroupMember(group_id)
{
    return http.get('/book/groupMember',{params:{group_id}});
}

// 好友列表
export function getFriend() {
    return http.get('/book/friend');
}